/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package logica;

import pruebarepositorios.Logica.Estadisticas;

/**
 *
 * @author user
 */
public class Variables {

    private int x;
    private int y;
    private int promedioX;
    private int promedioY;
    private int maximoX;
    private int maximoY;
    private int sumaX;
    private int sumaY;

    void sacaDatos(Estadisticas e){
        promedioX=e.promedio()[0];
        promedioY=e.promedio()[1];
        maximoX=e.maximo()[0];
        maximoY=e.maximo()[1];
        sumaX=e.sumar()[0];
        sumaY=e.sumar()[1];;
    }

    public int getMaximoX() {
        return maximoX;
    }

    public void setMaximoX(int maximoX) {
        this.maximoX = maximoX;
    }

    public int getMaximoY() {
        return maximoY;
    }

    public void setMaximoY(int maximoY) {
        this.maximoY = maximoY;
    }

    public int getPromedioX() {
        return promedioX;
    }

    public void setPromedioX(int promedioX) {
        this.promedioX = promedioX;
    }

    public int getPromedioY() {
        return promedioY;
    }

    public void setPromedioY(int promedioY) {
        this.promedioY = promedioY;
    }

    public int getSumaX() {
        return sumaX;
    }

    public void setSumaX(int sumaX) {
        this.sumaX = sumaX;
    }

    public int getSumaY() {
        return sumaY;
    }

    public void setSumaY(int sumaY) {
        this.sumaY = sumaY;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }



}
